//
//  Person.m
//  delegate 能不能perform selector 从而对非代理方delegate 对非代理方法是否能使用
//
//  Created by 袁飞霞 on 16/5/12.
//  Copyright © 2016年 cn.sophietobeabetterone. All rights reserved.
//

#import "Person.h"

@implementation Person
-(void)eat
{
    if ([self.delegate respondsToSelector:@selector(delegateMethod)]) {
        [self.delegate delegateMethod];
        
    }
    [self.delegate performSelector:@selector(notDelegateMethod)];
}


@end
